package cn.rui.mapper;

import cn.rui.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingMapper {

    public void add(OrderSetting orderSetting);

    public void updateNumberByOrderDate(OrderSetting orderSetting);

    public long findCountByOrderDate(Date orderDate);


    List<OrderSetting> getOrderSettingByMonth(Map<String, String> map);

    OrderSetting findByOrder(String orderDate);

    OrderSetting findOrderSettingByDate(Date orderDate);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
